# coding=utf-8
#所有环境都有的配置
SERVER_PORT = 8999
SERVER_HOST = "0.0.0.0"

DEBUG = False
#是否打印SQL语句
SQLALCHEMY_ECHO = True

AUTH_COOKIE_NAME="FOOD"

#过滤URL
IGNORE_URLS = [
    "^/user/login",
]

#完全过滤，页面资源
IGNORE_CHECK_LOGIN_URLS = [
    "^/static",
    "^/favicon.ico",
]

UPLOAD = {
    'ext':[ 'jpg','gif','bmp','jpeg','png' ],
    'prefix_path':'/static/upload/',
    'prefix_url':'/static/upload/'
}
#数据状态查询
STATUS_MAPPING = {
    "1":"正常",
    "0":"已删除"
}

#订单状态查询
ORDER_MAPPING = {
    "0":"异常订单",
    "1":"待取餐",
    "2":"已完结"
}

